//
//  TopicDetailModel.swift
//  HoneyBee
//
//  Created by Smith_Yang on 2018/4/19.
//  Copyright © 2018 point. All rights reserved.
//

import UIKit

class TopicDetailModel : NSObject{
    
    @objc var article : String = ""
    @objc var authorId : Int = 0
    @objc var authorHeadImg: String = ""
    @objc var authorName : String = ""
    @objc var commentsNum : Int = 0
    @objc var createTime : String = ""
    @objc var firstImg : String = ""
    @objc var groupId : Int = 0
    @objc var groupName : String = ""
    @objc var id : Int = 0
    @objc var lastCommentsTime : String = ""
    @objc var title : String = ""
    @objc var likes : Int = 0
    @objc var pageNum : Int = 0
    @objc var pageSize : Int = 0
    @objc var readNum : Int = 0
    @objc var concernUserId: String = ""
    
    @objc var groupIds : String = ""
    @objc var topicAuthorAccountModel : Array<TopicAuthorAccountModel> = [TopicAuthorAccountModel]()
    @objc var resource : String = ""
    @objc var remark : String = ""
    @objc var isLike : Bool = false
    @objc var updateTime : String = ""
    @objc var userId : Int = 0
    @objc var type : String = ""
    @objc var collection : Bool = false
    @objc var concern : Bool = false
    @objc var delete : Bool = false
    
    @objc var videoTime : Int = 0
    @objc var videoSize : Int = 0
    @objc var videoImgPath : String = ""

    @objc var isMember : Bool = false
    
    override func tmReplacedKey() -> [String : String] {
        return ["topicAuthorAccountModel":"authorAccount"]
    }

    override func tmStatementKey() -> [String : String] {
        return ["topicAuthorAccountModel":"ModelArr"]
    }
    
    
}
